package it.poste.il.compensatore.dao;

import it.poste.il.compensatore.entities.MessageStatus;

import org.springframework.stereotype.Repository;

/**
 * Interface for MessageStatusDao.
 */
@Repository
public interface MessageStatusDao extends BaseEntityDao<MessageStatus> {

	/**
	 * Take the message status by id.
	 * @param id Id of Message Status.
	 * @return MessageStatus Message Status from id.
	 */
	MessageStatus findById(String id);

	/**
	 * Take the message status's description.
	 * @param msgSts Entity Message Status.
	 * @return String Description of the message status.
	 */
	String selectDescription(MessageStatus msgSts);
}